<?php
    function set_html_content_type()
    {
        return 'text/html';
    }
    function get_cat_slug($cat_id) {
      $cat_id = (int) $cat_id;
      $category = &get_category($cat_id);
      return $category->slug;
    }
    mb_internal_encoding("UTF-8");
?>
<!DOCTYPE html>
<html lang="en-US" class="no-js">
   <head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0" />
    <meta name="generator" content="WordPress 3.5.1" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="<?php bloginfo('charset'); ?>" />
    <link rel="shortcut icon" href="<?php echo bloginfo('template_url'); ?>/img/favicon.ico">
    <link href="<?php echo bloginfo('template_url'); ?>/style.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<?php echo bloginfo('template_url'); ?>/css/skins/tango/skin.css" />
    <title> <?php wp_title('|', true, 'right'); ?></title>
    <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/jquery.jcarousel.min.js"></script>
    <?php wp_head(); ?>
    <style type="text/css">
        html {
            margin-top: 0px !important;
        }
    </style>
    <script type="text/javascript">var IE = false;</script>
    <!--[if lt IE 9]>
    <script type="text/javascript">IE=true;</script>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <style type="text/css">.m-scl{ left: 415px; top: -80px;}</style>
    <![endif]-->
    <!--js-->
   </head>
<body>
  <div class="container">
    <div class="myframe">
      <div id="header">
        <div class="top-head">
          <div id="logo">
            <a href="<?php echo site_url(); ?>"><img alt="cartel logo" src="<?php echo bloginfo('template_url'); ?>/img/logo.png"></a>
          </div>
          <div class="header_right">
            <p>Management of Japan's largest web TV</p>
            <a href="<?php echo site_url(); ?>"><img alt="" src="<?php echo bloginfo('template_url'); ?>/img/icon-arrow.png">Top Page</a> 
            <a href="<?php echo site_url(); ?>/site-map"><img alt="" src="<?php echo bloginfo('template_url'); ?>/img/icon-arrow.png">Site Map</a>
            
            <form  role="search" method="get" id="search" name="search" class="search" action="<?php echo home_url('/'); ?>">
              <input class="inputsearch" placeholder="Enter keyword" type="text" name="s" class="headsearch">
              <input class=" button black medium buttonsearch" type="submit" value="Search">
            </form>
          </div>
        </div>
        <div style="clear:both"></div>
        <div class="bottom-head">
          <?php wp_nav_menu(array( 'menu_class' => 'topnav', 'menu' => 'Main Menu', 'depth' => 1,'container' => 'none')); ?>
        </div>
      </div>
      <div style="clear:both"></div>